package com.cc.service.impl;

import com.cc.dao.UserDao;
import com.cc.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

/**
 * @ClassName: UserServiceImpl
 * @Description:
 * @Author: 晓东√
 * @Date: 2024-09-11 08:53
 * @Version: 1.0
 **/
@Service
public class UserServiceImpl implements UserService {

    UserDao userDao;
    @Autowired
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void save() {
        userDao.save();
    }

    public void getList() {
        userDao.getList();
    }
}
